Cypress Semiconductor /psoc63 /PROT /SMPU /SMPU_STRUCT[7] /ATT1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ATT1

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (UR)UR 0 (UW)UW 0 (UX)UX 0 (PR)PR 0 (PW)PW 0 (PX)PX 0 (NS)NS 0 (PC_MASK_0)PC_MASK_0 0PC_MASK_15_TO_10REGION_SIZE 0 (PC_MATCH)PC_MATCH 0 (ENABLED)ENABLED

Description

SMPU region attributes 1 (master structure)

Fields

UR

User read enable: ‘0’: Disabled (user, read acceses are NOT allowed). ‘1’: Enabled (user, read acceses are allowed).

Note that this register is constant ‘1’; i.e. user read accesses are ALWAYS allowed.

UW

User write enable: ‘0’: Disabled (user, write acceses are NOT allowed). ‘1’: Enabled (user, write acceses are allowed).

UX

User execute enable: ‘0’: Disabled (user, execute acceses are NOT allowed). ‘1’: Enabled (user, execute acceses are allowed).

Note that this register is constant ‘0’; i.e. user execute accesses are NEVER allowed.

PR

Privileged read enable: ‘0’: Disabled (privileged, read acceses are NOT allowed). ‘1’: Enabled (privileged, read acceses are allowed).

Note that this register is constant ‘1’; i.e. privileged read accesses are ALWAYS allowed.

PW

Privileged write enable: ‘0’: Disabled (privileged, write acceses are NOT allowed). ‘1’: Enabled (privileged, write acceses are allowed).

PX

Privileged execute enable: ‘0’: Disabled (privileged, execute acceses are NOT allowed). ‘1’: Enabled (privileged, execute acceses are allowed).

Note that this register is constant ‘0’; i.e. privileged execute accesses are NEVER allowed.

NS

Non-secure: ‘0’: Secure (secure accesses allowed, non-secure access NOT allowed). ‘1’: Non-secure (both secure and non-secure accesses allowed).

PC_MASK_0

This field specifies protection context identifier based access control for protection context ‘0’.

PC_MASK_15_TO_1

This field specifies protection context identifier based access control. Bit i: protection context i+1 enable. If ‘0’, protection context i+1 access is disabled; i.e. not allowed. If ‘1’, protection context i+1 access is enabled; i.e. allowed.

REGION_SIZE

This field specifies the region size: ‘7’: 256 B region (8 32 B subregions)

Note: this field is read-only.

PC_MATCH

This field specifies if the PC field participates in the ‘matching’ process or the ‘access evaluation’ process: ‘0’: PC field participates in ‘access evalution’. ‘1’: PC field participates in ‘matching’.

Note that it is possible to define different access control for multiple protection contexts by using multiple protection structures with the same address region and PC_MATCH set to ‘1’.

ENABLED

Region enable: ‘0’: Disabled. A disabled region will never result in a match on the bus transfer address. ‘1’: Enabled.

Links

() ()